package vn.orderonline.core.dao.entity;

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "MENU_DRINK")
public class MenuDrink implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer menuDrinkId;
	private String menuDrinkName;
	private Date createTime;
	private Date updatetime;
	
	public MenuDrink() {
		
	}
	
	@Id
	@GeneratedValue
	@Column(name = "MENU_DRINK_ID", unique = true, nullable = false, precision = 11, scale = 0)
	public Integer getMenuDrinkId() {
		return menuDrinkId;
	}
	
	public void setMenuDrinkId(Integer menuDrinkId) {
		this.menuDrinkId = menuDrinkId;
	}
	
	@Column(name = "MENU_DRINK_NAME", nullable = false, length = 100)
	public String getMenuDrinkName() {
		return menuDrinkName;
	}
	
	public void setMenuDrinkName(String menuDrinkName) {
		this.menuDrinkName = menuDrinkName;
	}
	
	@Column(name = "CREATE_TIME", nullable = false)
	public Date getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@Column(name = "UPDATE_TIME")
	public Date getUpdatetime() {
		return updatetime;
	}
	
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	
}
